-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[NativeAOT] Support library mode with NativeAOT on iOS-like platforms #93658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tagging subscribers to this area: @directhex Issue DetailsThis PR enables support for building libraries for iOS-like platforms with NativeAOT. Changes
Additional notesTo test locally one can execute the following from the repo root directory:
Fixes #88737
|
|
|
|
/azp run runtime-ioslikesimulator |
|
Azure Pipelines successfully started running 1 pipeline(s). |
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
Outdated
Show resolved
Hide resolved
5089847 to
2f65e3b
Compare
43f2655 to
9ef633d
Compare
|
/azp run runtime-ioslikesimulator |
|
/azp run runtime-ioslike |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-ioslikesimulator |
|
Azure Pipelines successfully started running 1 pipeline(s). |
am11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two optional nits, otherwise looks great! 👍
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
Outdated
Show resolved
Hide resolved
src/tests/FunctionalTests/iOS/Device/LibraryMode/iOS.Device.LibraryMode.Test.csproj
Outdated
Show resolved
Hide resolved
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
17e5aed to
22235dd
Compare
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The CI failures are unrelated. @steveisok @rolfbjarne @jkotas could you please take another look as we would like to get this in for |
rolfbjarne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The changes in the shared native AOT files LGTM. |
MichalStrehovsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeaot/BuildIntegration looks good to me too!
This PR enables support for building libraries for iOS-like platforms with NativeAOT.
Changes
AppleAppBuilderto support bundling in library mode for both MonoAOT and NativeAOTAppleAppBuilderto support bundling in library mode when targeting iOS-like devicessrc/tests/FunctionalTests/iOS/Simulator/LibraryModefor testing the library mode oniossimulators-arm64/x64with NativeAOT - currently this only works locally please see comments in the project file for more infosrc/tests/FunctionalTests/iOS/Device/LibraryModefor testing the library mode onios-arm64for both MonoAOT and NativeAOTAdditional notes
To test locally one can execute the following from the repo root directory:
Test
MonoAOTlibrary mode onios-arm64:Test
NativeAOTlibrary mode onios-arm64:Documentation
Fixes #88737